package com.jiyun.racelist.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jiyun.model.Answer;
import com.jiyun.vo.AnswerVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface AnswerMapper extends BaseMapper<Answer> {

    @Select("select a.name from answer a,xuanze x where a.tid=x.xid and x.id=#{value}")
    String showAnswer(Integer id);
}
